import storage from "@/utils/storage.js"

export function checkLogin(){
	const token = storage.get_token()
	if(token){
		return true
	}else{
		return false
	}
}
export function checkAuth(){
	const role = storage.get_user_role()
	if(role){
		return true
	}else{
		return false
	}
}